<?php
/**
 * Your express checkout return url will be here.
 * The sample url should be look like this:
 * http://success.host/?token=EC-4P57503178995634M&PayerID=CTNMGRE3DAD4J
 * 
 * Use the token and payerID to validate payment
 */

require_once '../Paypal.php';

$username = 'gusde_1353959371_biz_api1.gmail.com';
$password = '1353959390';
$signature = 'A055WLid6SfE3ijP3zjTOpl90laLAenbcHgy4HWt1WJ-bhCGbr-bhfoF';

$Paypal = new Paypal($username, $password, $signature);
$Paypal->setEnvironment('sandbox');
$Paypal->confirmExpressCheckout($_GET['token'], $_GET['PayerID'], 800);
?>
